import requests

sess = requests.session()
sess.headers = {
    "authority": "match.yuanrenxue.cn",
    "accept": "*/*",
    "accept-language": "zh-CN,zh;q=0.9",
    "content-length": "0",
    "origin": "https://match.yuanrenxue.cn",
    "referer": "https://match.yuanrenxue.cn/match/3",
    "sec-ch-ua": "\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"macOS\"",
    "sec-fetch-dest": "empty",
    "sec-fetch-mode": "cors",
    "sec-fetch-site": "same-origin",
    "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"
}
url = "https://match.yuanrenxue.cn/jssm"
response = sess.post(url=url)
print(response.headers)
print(response.cook)


# url = "https://match.yuanrenxue.cn/api/match/3"
# response = sess.get(url)

# # print(response.text)
# print(response)